package com.lj.sys.enums;

import com.lj.common.enums.EnumDict;
import com.lj.common.enums.ICommonEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author luojing
 * @since 2025/8/6 18:13
 * 系统数据范围类型
 */
@AllArgsConstructor
@Getter
@EnumDict(name = "SysDataScopeType", description = "系统数据范围类型")
public enum SysDataScopeType implements ICommonEnum<Integer> {

    All(1, "全部"),
    Oneself(2, "仅自己"),
    Department(3, "所属部门"),
    DepartmentAndSub(4, "所属部门及子部门"),
    Custom(5, "自定义");

    private final Integer value;
    private final String desc;
}
